package com.cdp.web.controller.system;
import com.cdp.common.core.domain.AjaxResult;
import com.cdp.system.dto.SysWaterDTO;
import com.cdp.system.service.ISysWaterService;
import com.cdp.system.vo.SysWaterVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


@RestController
@RequestMapping()
public class SysWaterController {


    @Autowired
    private ISysWaterService sysWaterService;

    @PostMapping("ListLikeWater")
    public AjaxResult  ListLikeWater(@RequestBody SysWaterDTO sysWaterDTO){

        return  sysWaterService.queryLikeWater(sysWaterDTO);
    }
}
